package cn.webrx.bs.service;

import cn.webrx.bs.db.DruidUtil;
import cn.webrx.bs.entity.AdminLog;
import org.apache.commons.dbutils.QueryRunner;

import java.util.Date;
import java.util.List;

/**
 * <p>功能描述: </p>
 *
 * @author webrx
 * @version 1.0
 * @date 2020-09-03 11:51
 */
public interface AdminLogDao {
    public QueryRunner run = new QueryRunner(DruidUtil.getDataSource());
    public int add(AdminLog log);
    public int add(String info, Date time, long ip, String account);
    public List<AdminLog>  queryAll();
}
